package com.erp.erp_project.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.erp.erp_project.model.Order;
import org.apache.catalina.LifecycleState;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author the bright star
 */
@Mapper
public interface OrderMapper extends BaseMapper<Order> {


    Order selectWithOtherById(Integer id);

    List<Order> selectAllWithOther();

    void updatePic(Integer id, String data);

    void updateFile(Integer id, String data);

    void deleteOrdersById(List<Integer> ids);

    List<Order> searchOrder(String str, String condition);

    void setRequirement(String note, Integer id);
}
